/*
This file is part of vlc-remote.

vlc-remote is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

vlc-remote is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with vlc-remote.  If not, see <http://www.gnu.org/licenses/>.
*/
var RemoteState = {
    UNKNOWN: 0,
    PLAYING: 1,
    PAUSED: 2,
    STOPPED: 3,
    BUFFERING: 4,
    UNAVAILABLE: 5,
    ERROR: 6
  };

var ShuffleMode = {
    UNKNOWN: 0,
    FORWARD: 1,
    REVERSE: 2,
    SHUFFLE: 3,
    INTELLIGENT: 4
  };

var RepeatMode = {
    UNKNOWN: 0,
    NONE: 1,
    ONE: 2,
    ALL: 3
  };

function RemoteStatus() {
    this._init();
}

RemoteStatus.prototype = {
  _init: function() {
    this.state = RemoteState.UNKNOWN;
    this.id = 0;
    this.uid = '';
    this.position = 0;
    this.duration = 0;
    this.percentagePlayed = 0;
    this.title = '';
    this.artist = '';
    this.album = '';
    this.genre = '';
    this.muted = false;
    this.shuffle = ShuffleMode.UNKNOWN;
    this.repeat = RepeatMode.UNKNOWN;
    this.volume = 0.0;
  }
}
